package services.mes

import models.mes.MesOrdersRepository
import play.api.{Configuration, Logging}
import services.kingdee.KingdeePostV2

import javax.inject.Inject
import scala.concurrent.ExecutionContext

class KdToMesChangeService @Inject()(
                                      mesPost: MoreMesPost,
                                      mesRepo: MesOrdersRepository,
                                      kdPost: KingdeePostV2,
                                      config: Configuration
                                    )(implicit exec: ExecutionContext)
  extends Logging {
  protected var moreMesConfig = config.get[MoreMesConfig]("")

  def setConfig(key: String) = {
    this.moreMesConfig = config.get[MoreMesConfig](key)
    this
  }

  def mo_order() = {

  }

}
